added some externs for filesystem and more