Consider choosen folder in upload function.