Changed null state of file writings