add check then given file first