Functions
Added tab completion and file format check