finishing filepicker cleaning functions