Code clean up and file selector returns secured file objects.