Split file/representation into separate module