Add a power-api for getting local filenames
Minor bugfix