This method retrieves all the files and folders found in a package directory.
Returns an array of file names found in the specified directory, if it exists.