Rename file, deal with parsing problems