Added support for linking to previously uploaded file