add simple file upload method