Complete basic add file functionality