Code style and standardisation of file access