implemented file maintenance and OR search