only move and parse file info if the file exists