added file upload. mkdir / move to trash properly