Implement Add file functionality