Fixing case and adding file extension