implemented filemask for command