Ust 3196/dev/3197 add possibility to enforce file content only at creation 2

New version of #40.