//
//  FileUtility.m
//  Ensemble2
//
//  Created by Tom Lemberg on 5/9/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "FileUtility.h"

@implementation FileUtility

+ (NSString *)pathToFile:(NSString *)filename ofType:(NSString *)type {
	
	NSBundle *bundle = [NSBundle mainBundle];
	NSString *path = [bundle bundlePath];
	path = [path stringByAppendingString:@"/"];
	path = [path stringByAppendingString:filename];
	path = [path stringByAppendingString:@"."];
	path = [path stringByAppendingString:type];
	
	return path;
	
}

@end
