The file IO is used in another package. Moving uai files and its reading functions to another package will make the dependency smaller.
https://github.com/mroavi/TensorInference.jl
This design pattern is similar to GraphIO: https://github.com/JuliaGraphs/GraphIO.jl that loads graphs from disk.