Solves issues with filenames that have special characters