added file upload feature through classes