trying to perfect fileloader