added file upload
removed js copy