in reply to file used by process

Try commands lsof or fuser