file loading fixed, still not done though