file open implemented, except for the actual loading