use FilePath in type