For example, how to get Output.map. from. F:\Program Files\SSH ... You're looking for basename. The example from the PHP manual:
stackoverflow.com