Update filex to check file's existency