Cleaned up file selector.