added file upload feature for php module