file module: update tests
file module: add missing method parameter
file module: fix mask when operator is '='