file add and delete test