Check if file was renamed or not