added check for file meta