File type is more type safer than normal string parameter.