Test for empty directory in filename
If the filename does not contain an folder, a relativ path will be used.