Move file is only happening if it finds a record (should prevent multiple calls)