remove filewritable() check