add and remove file relative to base path