add file-upload basics
ref #3781