Changing code structure and introducing a new file attribure module