new file access system

+ minor speed improvements