Resolve uploaded file directory