file upload preview; closes #22