removing usage of StdFileTypes