added file pattern and string token declaration and file attribute parsing on file receive