revise file loader