Fix wrong file get contents