fixed bug with spaces + double encoding file names