Added file upload feature, with snapshot functionality