Fix for filenames less than 8 characters