Fixing bugs in filenames.