Make the `lgtdoc::file/1-2` predicates more flexible