Prevent watching the same file twice