Implement add file