fixed file initialization

hi micheaaeeal