New methods for dealing with in memory file