A hack for some strange file structure