Implement #file_uploads. Refactor #works