improve editor: filereadable check