begining filemanip