'Wrapper for `List Directory` that returns only files.'

def list_files_in_directory(self, path, pattern=None, absolute=False):

    files = self._list_files_in_dir(path, pattern, absolute)
    self._info(('%d    file%s:\n%s' % (len(files), plural_or_not(files), '\n'.join(files))))
    return files
