put file data into $fullDir

Also fix issue with directories being created for every file
(uhandler.php)