# File lib/PageTemplate/parser.rb, line 266
    def get_filename(file)
      # Check for absolute filepaths
      if file == File.expand_path(file)
        if File.exists?(file)
          return file
        end
      end
      file = file.gsub(/\.\.\//,'') 
      @paths.each do |path|
        fn = File.join(path,file)
        fn.untaint
        if File.exists?(fn)
          return fn
        end
      end
      return nil
    end