Load a file into memory (useful for kernel loading)