updated resources converter for filenames with spaces & without extension