<?
/*
 * Project: NodeMap2.0
 * File: FileHandler.class.php
 * Purpose: Checking and reading node files from the server
 */

class FileHandler {
	private $file;

	/*
	 * Function: __construct (constructor)
	 * Parameters: string $filename
	 * Function: Handling with a node file 
	 */
	public function __construct(string $filename) {
		try {
			$this->file = fopen($filename);
		} catch (Exception $err) {
			// TODO: Better error description
			trigger_error();
		}

		// TODO: Needs to do something
	}
}