Try to malloc file, for parser