Create Filewrapper.php and create all needed functions