feat: add local file access functions
refactor: fix inconsistency in file access function definitions
feat: add structure for dynamic file access