SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
FILE Remotio
- Niranjj.S CSE-A
Table of Contents
 Introduction
 What to do ?
 Technique used
 How it works ?
 Applications
 Queries
File Remotio
CONTENTS

Remotio – shifting

 Introduction

This is about the shifting of files in C language.

 What to do ?
 Technique used
 How it works?

 Applications
 Queries

The basic concept we all know about swapping is
a=5

b=6

after shifting
a=6

b=5

This could be done either by using temporary variable or by swap
function.
but how to do with files…??

Let’s switch to the question
Task with Condition
CONTENTS
 Introduction



What to do?

Design a program that circularly swaps the contents of files.
for example 3 files are taken as input then the content of file1
to file 2 then, file2 to file3 then, file3 to file1

 Technique used

The program should scale well to certain number of files.

 How it works?

Also assert the number of words in each file which will also
should be changed when swapping is occurred .

 Applications
 Queries
CONTENTS

File5

File1

 Introduction
 What to do ?

Technique used

(pictorial)

File4

File2

 How it works ?
 Applications

 Queries

File3
STEP 1: Start the program .

CONTENTS
 Introduction

STEP 2:Include the header files and function prototyes Declare the functions
check and swp which are used then,the integer variables I,n
and bf and aaf with array size 50.
STEP 3: Declare the character variables txtbf and txtaf with array size 50
and assign the name of array as”a.txt”.

STEP 3: Create a file pointer fp of size 50.

 What to do ?

STEP 4: Print the number of files to open and get in n.

Technique used

STEP 5: Initialize i equal to 0 and check whether it is less than n and if so it
will create the new files and the contents will be displayed in file
till n number of times else it will print “file is not created
successfully. “.

(Algorithm)
 How it works?
 Applications
 Queries

STEP 6: Again check the same condition and if it satisfied call the function
check and store the content in bf then by the given statement the
contents are copied to txtbf [].
STEP 7: In the check function it initialize tlen o ‘0’and the count will be
increased till it reaches the EOF (End Of File) and then the len will
be returned .
STEP 8: : Promote the same looping conditions and if it satisfied it calls the
swp function
CONTENTS
 Introduction
 What to do ?

Technique used

(Algorithm)
 How it works?

 Applications
 Queries

STEP 9: In the swp function two variables t1 and t2 are created the contents of
file 1 will be copied to t1 and t2 will be placed on file1and then t1 to t2
and the cycle will be continued till the condition satisfies .
STEP 10: At last content of the file and the lengh of the file before and after
swapping will be printed .

STEP 11: Get the output and end the program.
#include<stdio.h>

CONTENTS
 Introduction
 What to do ?
 Technique used


How it works?
(Source code)

#include<string.h>
int check(FILE *fp);
void swp(FILE *fp);
void main()
{

int i,n,bf[50],af[50];
char name[6]="a.txt",txtbf[50][50],txtaf[50][50];
FILE *fp[50];
clrscr();

 Applications

printf("Enter number of files to open :");

 Queries

scanf("%d",&n);
for(i=0;i<n;i++)
{

CONTENTS

name[0]='a'+i;

 Introduction

if((fp[i]=fopen(name,"w+"))==0)

 What to do ?

{
printf("nFile NOT created successfullyn");

 Technique used
}



How it works?
(Source code)

else
{

 Applications

fprintf(fp[i],"%s%d","contents of file ",i+1);

 Queries

printf("File created successfullyn");
}
}
for(i=0;i<n;i++)
{

CONTENTS

bf[i]=check(fp[i]);

 Introduction

rewind(fp[i]);

 What to do ?

fgets(txtbf[i],49,fp[i]);

 Technique used


How it works?
(Source code)

}

for(i=0;i<n;i++)
{
swp(fp[i]);

 Applications

}

 Queries

swp(fp[0]);
for(i=0;i<n;i++)

{

CONTENTS

af[i]=check(fp[i]);

 Introduction

rewind(fp[i]);

 What to do ?

fgets(txtaf[i],49,fp[i]);

 Technique used

}
for(i=0;i<n;i++)



How it works?
(Source code)

{
printf("nnBefore swapping : nFILE %d : %s",i+1,txtbf[i]);

 Applications

printf("nlength of FILE %d : %d",i+1,bf[i]);

 Queries

printf("nnAfter swapping : nFILE %d : %s",i+1,txtaf[i]);
printf("nlength of FILE %d : %d",i+1,af[i]);
printf("n-------------------------------------------------");}

getch();

CONTENTS

}int check(FILE *fp)

 Introduction

{

int len=0;

 What to do ?

rewind(fp);

 Technique used

while(getc(fp)!=EOF)



How it works?
(Source code)

{
len++;

 Applications

}

 Queries

return len;
}
void swp(FILE *fp)// receive fp

CONTENTS

{
char t1[50],t2[50];

 Introduction

rewind(fp);

 What to do ?

fgets(t1,49,fp);

 Technique used

rewind(fp);



fputs(t2,fp);

How it works?
(Source code)

 Applications
 Queries

strcpy(t2,t1);
}
CONTENTS
 Introduction
 What to do ?
 Technique used


How it works?
(Output)

 Applications
 Queries
CONTENTS
 Introduction
 What to do ?
 Technique used
 How it works?

Applications
 Queries

How it is used
• It will be useful for those who wants to shift the entire

stuff from one place to another that is to transfer the
whole thing.
• It is also useful to analyze the total number of contents

in each file before shifting that is to verify it before it
proceed
• Keeping this as the base and doing further development

this application can be used significantly in many other
aspects
File Remotio
File Remotio

Contenu connexe

Tendances

Introduction to PythonTeX
Introduction to PythonTeXIntroduction to PythonTeX
Introduction to PythonTeXHirwanto Iwan
 
Progress Report090806
Progress Report090806Progress Report090806
Progress Report090806GUANBO
 
Asynchronous JavaScript and Promises
Asynchronous JavaScript and Promises Asynchronous JavaScript and Promises
Asynchronous JavaScript and Promises Senthil Kumar
 
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?Viach Kakovskyi
 

Tendances (6)

Introduction to PythonTeX
Introduction to PythonTeXIntroduction to PythonTeX
Introduction to PythonTeX
 
working with files
working with filesworking with files
working with files
 
Progress Report090806
Progress Report090806Progress Report090806
Progress Report090806
 
C# p4
C# p4C# p4
C# p4
 
Asynchronous JavaScript and Promises
Asynchronous JavaScript and Promises Asynchronous JavaScript and Promises
Asynchronous JavaScript and Promises
 
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?
Austin Python Meetup 2017: What's New in Pythons 3.5 and 3.6?
 

Similaire à File Remotio

Similaire à File Remotio (20)

VIT351 Software Development VI Unit5
VIT351 Software Development VI Unit5VIT351 Software Development VI Unit5
VIT351 Software Development VI Unit5
 
Php basics
Php basicsPhp basics
Php basics
 
WEB TECHNOLOGIES- PHP Programming
WEB TECHNOLOGIES-  PHP ProgrammingWEB TECHNOLOGIES-  PHP Programming
WEB TECHNOLOGIES- PHP Programming
 
Php
PhpPhp
Php
 
Php
PhpPhp
Php
 
Php
PhpPhp
Php
 
File handling.pptx
File handling.pptxFile handling.pptx
File handling.pptx
 
Flyr PHP micro-framework
Flyr PHP micro-frameworkFlyr PHP micro-framework
Flyr PHP micro-framework
 
File Handling
File HandlingFile Handling
File Handling
 
File Handling
File HandlingFile Handling
File Handling
 
File management
File managementFile management
File management
 
Assignment Of A Computer System
Assignment Of A Computer SystemAssignment Of A Computer System
Assignment Of A Computer System
 
Introduction to coding using Python
Introduction to coding using PythonIntroduction to coding using Python
Introduction to coding using Python
 
Php advance
Php advancePhp advance
Php advance
 
First Steps in Python Programming
First Steps in Python ProgrammingFirst Steps in Python Programming
First Steps in Python Programming
 
C UNIT-5 PREPARED BY M V BRAHMANANDA REDDY
C UNIT-5 PREPARED BY M V BRAHMANANDA REDDYC UNIT-5 PREPARED BY M V BRAHMANANDA REDDY
C UNIT-5 PREPARED BY M V BRAHMANANDA REDDY
 
Winter%200405%20-%20Beginning%20PHP
Winter%200405%20-%20Beginning%20PHPWinter%200405%20-%20Beginning%20PHP
Winter%200405%20-%20Beginning%20PHP
 
Winter%200405%20-%20Beginning%20PHP
Winter%200405%20-%20Beginning%20PHPWinter%200405%20-%20Beginning%20PHP
Winter%200405%20-%20Beginning%20PHP
 
Need to make a horizontal change across 100+ microservices? No worries, Sheph...
Need to make a horizontal change across 100+ microservices? No worries, Sheph...Need to make a horizontal change across 100+ microservices? No worries, Sheph...
Need to make a horizontal change across 100+ microservices? No worries, Sheph...
 
cs3157-summer06-lab1
cs3157-summer06-lab1cs3157-summer06-lab1
cs3157-summer06-lab1
 

Dernier

Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfTechSoup
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxKatherine Villaluna
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational PhilosophyShuvankar Madhu
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesCeline George
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...CaraSkikne1
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17Celine George
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice documentXsasf Sfdfasd
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationMJDuyan
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxKatherine Villaluna
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxraviapr7
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 

Dernier (20)

Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptxPractical Research 1: Lesson 8 Writing the Thesis Statement.pptx
Practical Research 1: Lesson 8 Writing the Thesis Statement.pptx
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational Philosophy
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 Sales
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice document
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive Education
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptx
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024UKCGE Parental Leave Discussion March 2024
UKCGE Parental Leave Discussion March 2024
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptx
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 

File Remotio

  • 2. Table of Contents  Introduction  What to do ?  Technique used  How it works ?  Applications  Queries
  • 3. File Remotio CONTENTS Remotio – shifting  Introduction This is about the shifting of files in C language.  What to do ?  Technique used  How it works?  Applications  Queries The basic concept we all know about swapping is a=5 b=6 after shifting a=6 b=5 This could be done either by using temporary variable or by swap function. but how to do with files…?? Let’s switch to the question
  • 4. Task with Condition CONTENTS  Introduction  What to do? Design a program that circularly swaps the contents of files. for example 3 files are taken as input then the content of file1 to file 2 then, file2 to file3 then, file3 to file1  Technique used The program should scale well to certain number of files.  How it works? Also assert the number of words in each file which will also should be changed when swapping is occurred .  Applications  Queries
  • 5. CONTENTS File5 File1  Introduction  What to do ? Technique used (pictorial) File4 File2  How it works ?  Applications  Queries File3
  • 6. STEP 1: Start the program . CONTENTS  Introduction STEP 2:Include the header files and function prototyes Declare the functions check and swp which are used then,the integer variables I,n and bf and aaf with array size 50. STEP 3: Declare the character variables txtbf and txtaf with array size 50 and assign the name of array as”a.txt”. STEP 3: Create a file pointer fp of size 50.  What to do ? STEP 4: Print the number of files to open and get in n. Technique used STEP 5: Initialize i equal to 0 and check whether it is less than n and if so it will create the new files and the contents will be displayed in file till n number of times else it will print “file is not created successfully. “. (Algorithm)  How it works?  Applications  Queries STEP 6: Again check the same condition and if it satisfied call the function check and store the content in bf then by the given statement the contents are copied to txtbf []. STEP 7: In the check function it initialize tlen o ‘0’and the count will be increased till it reaches the EOF (End Of File) and then the len will be returned . STEP 8: : Promote the same looping conditions and if it satisfied it calls the swp function
  • 7. CONTENTS  Introduction  What to do ? Technique used (Algorithm)  How it works?  Applications  Queries STEP 9: In the swp function two variables t1 and t2 are created the contents of file 1 will be copied to t1 and t2 will be placed on file1and then t1 to t2 and the cycle will be continued till the condition satisfies . STEP 10: At last content of the file and the lengh of the file before and after swapping will be printed . STEP 11: Get the output and end the program.
  • 8. #include<stdio.h> CONTENTS  Introduction  What to do ?  Technique used  How it works? (Source code) #include<string.h> int check(FILE *fp); void swp(FILE *fp); void main() { int i,n,bf[50],af[50]; char name[6]="a.txt",txtbf[50][50],txtaf[50][50]; FILE *fp[50]; clrscr();  Applications printf("Enter number of files to open :");  Queries scanf("%d",&n);
  • 9. for(i=0;i<n;i++) { CONTENTS name[0]='a'+i;  Introduction if((fp[i]=fopen(name,"w+"))==0)  What to do ? { printf("nFile NOT created successfullyn");  Technique used }  How it works? (Source code) else {  Applications fprintf(fp[i],"%s%d","contents of file ",i+1);  Queries printf("File created successfullyn"); } }
  • 10. for(i=0;i<n;i++) { CONTENTS bf[i]=check(fp[i]);  Introduction rewind(fp[i]);  What to do ? fgets(txtbf[i],49,fp[i]);  Technique used  How it works? (Source code) } for(i=0;i<n;i++) { swp(fp[i]);  Applications }  Queries swp(fp[0]);
  • 11. for(i=0;i<n;i++) { CONTENTS af[i]=check(fp[i]);  Introduction rewind(fp[i]);  What to do ? fgets(txtaf[i],49,fp[i]);  Technique used } for(i=0;i<n;i++)  How it works? (Source code) { printf("nnBefore swapping : nFILE %d : %s",i+1,txtbf[i]);  Applications printf("nlength of FILE %d : %d",i+1,bf[i]);  Queries printf("nnAfter swapping : nFILE %d : %s",i+1,txtaf[i]); printf("nlength of FILE %d : %d",i+1,af[i]);
  • 12. printf("n-------------------------------------------------");} getch(); CONTENTS }int check(FILE *fp)  Introduction { int len=0;  What to do ? rewind(fp);  Technique used while(getc(fp)!=EOF)  How it works? (Source code) { len++;  Applications }  Queries return len; }
  • 13. void swp(FILE *fp)// receive fp CONTENTS { char t1[50],t2[50];  Introduction rewind(fp);  What to do ? fgets(t1,49,fp);  Technique used rewind(fp);  fputs(t2,fp); How it works? (Source code)  Applications  Queries strcpy(t2,t1); }
  • 14. CONTENTS  Introduction  What to do ?  Technique used  How it works? (Output)  Applications  Queries
  • 15. CONTENTS  Introduction  What to do ?  Technique used  How it works? Applications  Queries How it is used • It will be useful for those who wants to shift the entire stuff from one place to another that is to transfer the whole thing. • It is also useful to analyze the total number of contents in each file before shifting that is to verify it before it proceed • Keeping this as the base and doing further development this application can be used significantly in many other aspects