Protect file