fixed init bug. New file now created