taskfileinfo convenience function