Very basic file uploading. Not stable code at all.