file operations over module file.cpp/hpp