fixed bug with how initial file content is loaded