moved file size determination to file_load.c