deleteSpaces: check if directory empty
added wav2flac