add function to create file in BaseFileHelper