public boolean checkValidity (String file_name){
		//check file validity
		boolean result = false;
		try {
			File ut_file = new File(file_name);
			if(ut_file.exists()){
				System.out.printf("%s%s\n%s\n%s\n%s\n%s%s\n%s%s\n%s%s\n%s%s",
						ut_file.getName(), " exists",
						(ut_file.isFile() ? "is a file" : "is not a file" ),
						(ut_file.isDirectory() ? "is a directory" :
						"is not a directory" ),
						(ut_file.isAbsolute() ? "is absolute path" :
						"is not absolute path" ), "Last modified: ", ut_file.lastModified()
						, "Length: ", ut_file.length(),
						"Path: ", ut_file.getPath(), "Parent: ", ut_file.getParent());
				result = true;
			}//end if
			else{
				result = false;
				throw new IOException("Entry Invalid. Please Re-enter.");
			}//end else
		}//end try
		//catch exception if file is not valid
		catch (IOException e) {
			JOptionPane.showMessageDialog(null, e.getMessage(), "Error Message",
					JOptionPane.PLAIN_MESSAGE);
		}//end catch

		return result;
	}//end method CheckValidity