Feature/371 protect all files

@mturalenka Please review.