Abstract file loading