public static TorrentInfo createInfoFile(String torrentFileName, String saveFileName){
		
		try {
			RandomAccessFile rFile = new RandomAccessFile(torrentFileName, "rw");
			byte[] fileBytes = new byte[(int) rFile.length()];
			rFile.read(fileBytes);
			torrentInfo = new TorrentInfo(fileBytes);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
			return null;
		} catch(IOException e1){
			System.out.println("File not found");
		} catch(BencodingException b){
			
		}
		return null;
	}