def get_file_list(file_dir, regex='<STR_LIT>'):
file_list = os.listdir(file_dir)<EOL>file_list.sort()<EOL>if regex:<EOL><INDENT>file_list = search_list(file_list, regex)<EOL><DEDENT>file_list = [op.join(file_dir, fname) for fname in file_list]<EOL>return file_list<EOL>
Creates a list of files that match the search_regex within file_dir.
The list of files will have file_dir as path prefix.

Parameters
----------
@param file_dir:

@param search_regex:

Returns:
--------
List of paths to files that match the search_regex