trying to use parsefile to upload images