Gets the basename from a filepath.
The file path (e.g. "path/to/resume.yaml").
Whether to remove the file extension.
The basename of the file.
Gets the basename from a filepath.