Function declarations for FileParser